[gd_scene load_steps=8 format=2]

[ext_resource path="res://src/scenes/dynamic_grid_container/dynamic_grid_container.tscn" type="PackedScene" id=1]
[ext_resource path="res://icon.png" type="Texture" id=2]
[ext_resource path="res://src/scenes/channel_window/channel_window.gd" type="Script" id=3]
[ext_resource path="res://src/scenes/button_container/button_container.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/scenes/fixed_scroll_container/fixed_scroll_container.gd" type="Script" id=5]
[ext_resource path="res://src/scenes/channel_card/channel_card.tscn" type="PackedScene" id=6]

[sub_resource type="StyleBoxFlat" id=1]
content_margin_left = 5.0
content_margin_right = 5.0
content_margin_top = 5.0
content_margin_bottom = 5.0
bg_color = Color( 0.235294, 0.235294, 0.27451, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0, 0, 0, 1 )
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[node name="ChannelWindow" type="MarginContainer"]
margin_top = 5.0
margin_right = 1024.0
margin_bottom = 595.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_top = 5
custom_constants/margin_bottom = 5
script = ExtResource( 3 )

[node name="ScrollContainer" type="ScrollContainer" parent="."]
margin_top = 5.0
margin_right = 1024.0
margin_bottom = 585.0
size_flags_horizontal = 3
size_flags_vertical = 3
scroll_horizontal_enabled = false
script = ExtResource( 5 )

[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer"]
margin_right = 1024.0
margin_bottom = 580.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_right = 5

[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/MarginContainer"]
margin_right = 1019.0
margin_bottom = 580.0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="Banner" type="TextureRect" parent="ScrollContainer/MarginContainer/VBoxContainer"]
margin_right = 1019.0
size_flags_horizontal = 3
size_flags_vertical = 0
size_flags_stretch_ratio = 0.2
texture = ExtResource( 2 )
expand = true
stretch_mode = 5

[node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
margin_top = 4.0
margin_right = 1019.0
margin_bottom = 68.0

[node name="ChannelCard" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer" instance=ExtResource( 6 )]
margin_right = 955.0

[node name="FollowButton" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
margin_left = 959.0
margin_top = 20.0
margin_right = 1019.0
margin_bottom = 43.0
size_flags_vertical = 4
toggle_mode = true
text = "Follow"

[node name="DescriptionButton" parent="ScrollContainer/MarginContainer/VBoxContainer" instance=ExtResource( 4 )]
margin_top = 72.0
margin_right = 138.0
margin_bottom = 99.0
size_flags_horizontal = 0
custom_styles/panel = SubResource( 1 )
color_normal = Color( 0.235294, 0.235294, 0.27451, 1 )
color_hovered = Color( 0.313726, 0.313726, 0.352941, 1 )
color_pressed = Color( 0.196078, 0.196078, 0.235294, 1 )

[node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/DescriptionButton"]
margin_left = 5.0
margin_top = 5.0
margin_right = 133.0
margin_bottom = 22.0
text = "Show description"

[node name="Description" type="RichTextLabel" parent="ScrollContainer/MarginContainer/VBoxContainer"]
visible = false
margin_top = 96.0
margin_right = 1024.0
margin_bottom = 111.0
focus_mode = 2
text = "Description"
fit_content_height = true
scroll_active = false
selection_enabled = true

[node name="Media" parent="ScrollContainer/MarginContainer/VBoxContainer" instance=ExtResource( 1 )]
margin_top = 103.0
margin_right = 1019.0
margin_bottom = 580.0
size_flags_horizontal = 1
